<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<title>base64加密</title>
	<script type="text/javascript" src="../../resources/js/base64.js"></script>
	<script type="text/javascript">
		  var b = new Base64();
		  var str = b.encode("abc");
		  alert("base64 encode:" + str);
		  //解密
		  str = b.decode(str);
		  alert("base64 decode:" + str);
	</script>
</head>
<body>
</body>
</html>